package com.tjh.springbootapi.实例demo;

import com.koala.apiprototype.web.response.PageResult;
import com.tjh.springbootapi.entity.PageHelper;
import com.tjh.springbootapi.service.PageHelperService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * Create by koala on 2020-03-21
 */
@SpringBootTest
public class UsePageHelper {

    @Autowired
    PageHelperService pageHelperService;

    @Test
    public void testPageHelper() {
        PageResult<PageHelper> result = pageHelperService.getPageHelperList();
        System.out.println(result);
    }

}
